Upgrading Java Projects

- To use your old SNiFF+ projects with SNiFF+ 3.2, copy

<sniff_installation_directory>/config/template.java.Makefile to your project directory and replace your old Makefile with this one. Then update your Makefiles.

| Note
| If you have made changes in your old Makefiles, make these changes manually in the new Makefiles.

- If you are using SNiFF+ Make Support, each directory should contain only Java files. It is not possible to build a project correctly if source files in other programming languages are located in the same directory. To avoid this problem, store these files in separate directories and create separate projects for them. Also make sure that your non Java projects do not contain the Java file type.
- For Java, the working environment concept with Private(PWE) and Shared Object Working Environments is no longer supported in SNiFF+ 3.2. This is because equivalent packages that are entered separately in the class path (as is the case in layered Working Environments) are not explicitly examined by the JDK tools for each file. The first entry that is matched is cached and reused by the compiler and interpreter. This may lead to inconsistent results if working environments are layered. If you have been using shared environments, you have two options:

- either move your PWE so that it directly accesses the Repository or Shared Source Working Environment (SSWE). If you are working with more than one PWE, do the same for all. Check out all project files to your PWE.
- or create new PWEs which access the Repository or SSWE and create new projects in your PWEs.